package com.ellricky.baselib.entity;

import java.io.Serializable;

public class PersonItemEntity implements Serializable {
    private static final long serialVersionUID = 7579616180109660108L;
    // 主键ID
    private String id;
    // 名称
    private String name;
    // 首字母缩写
    private String shortName;
    // 头像
    private String headPic;

///////////////////////////////////////////////////////////////////////////
//  教学主管教师
///////////////////////////////////////////////////////////////////////////

    // 工作状态 1=正常 2=休假 3=离职
    private String workStatus;
    // 星级
    private String userLevel;

///////////////////////////////////////////////////////////////////////////
// 学生管理
///////////////////////////////////////////////////////////////////////////

    // 性别 1= 男 2=女
    private String sex;
    // 性别中文标示
    private String sexName;
    // 是否请假 0= 未请假 不等于0 则请假
    private String isLeave;
    // 课时数
    private String classNum;

    private String cardType;


///////////////////////////////////////////////////////////////////////////
//  学员评估
///////////////////////////////////////////////////////////////////////////

    // 是否评估 1=已评估 2=未评估
    private String attendType;
    // 考勤ID=》备课id
    private String attendId;
    // 评估详情ID
    private String workId;
    // 是否上课 1= 未上课 2=已上课 3= 未完成
    private String classStatus;

///////////////////////////////////////////////////////////////////////////
// 课程顾问
///////////////////////////////////////////////////////////////////////////

    // 是否考勤 0=未考勤 否则未已考勤
    private String isAttend;

///////////////////////////////////////////////////////////////////////////
//  get & set
///////////////////////////////////////////////////////////////////////////


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(String workStatus) {
        this.workStatus = workStatus;
    }

    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel;
    }

    // local state
    private boolean checked;

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSexName() {
        return sexName;
    }

    public void setSexName(String sexName) {
        this.sexName = sexName;
    }

    public String getIsLeave() {
        return isLeave;
    }

    public void setIsLeave(String isLeave) {
        this.isLeave = isLeave;
    }

    public String getClassNum() {
        return classNum;
    }

    public void setClassNum(String classNum) {
        this.classNum = classNum;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardType(){
        return cardType;
    }

    @Override
    public String toString() {
        return "PersonItemEntity{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", shortName='" + shortName + '\'' +
                ", headPic='" + headPic + '\'' +
                ", workStatus='" + workStatus + '\'' +
                ", userLevel='" + userLevel + '\'' +
                ", checked=" + checked +
                '}';
    }

    public String getAttendType() {
        return attendType;
    }

    public void setAttendType(String attendType) {
        this.attendType = attendType;
    }

    public String getAttendId() {
        return attendId;
    }

    public void setAttendId(String attendId) {
        this.attendId = attendId;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }


    public String getIsAttend() {
        return isAttend;
    }

    public void setIsAttend(String isAttend) {
        this.isAttend = isAttend;
    }

    public String getClassStatus() {
        return classStatus;
    }

    public void setClassStatus(String classStatus) {
        this.classStatus = classStatus;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof PersonItemEntity)) return false;
        PersonItemEntity that = (PersonItemEntity) o;
        return id.equals(that.id);
    }

}
